Part Prism/tr

Parça Prizma

Menü konumu
Parça → Temel geometrik şekil oluştur → Prizma
Tezgahlar
Parça
Varsayılan kısayol
Hiçbiri
Versiyonda tanıtıldı
0.14
Ayrıca bkz
Parça → Temel Geometrik Şekil → Kutu

Description

Açıklama

Parça tezgahındaki Temel Geometrik şekil oluştur diyalog penceresinden bir Parça Prizması bulunmaktadır. Bir Parça Prizması, normal bir çokgen kesiti ve yüksekliği ile tanımlanmış bir katıdır.

Usage

See Part Primitives.

Example

Part Prism from the scripting example

A Part Prism object created with the scripting example below is shown here.

Parametreler

  • Çokgen - Parça prizması çokgeninin kenar sayısını belirtir.
  • Prizmanın dış çemberinin yarıçapı
  • Yükseklik - Prizmanın yüksekliği

See also: Property editor.

A Part Prism object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

Attachment

The object has the same attachment properties as a Part Part2DObject.

Prism

Scripting

See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Prism can be created with the addObject() method of the document:

prism = FreeCAD.ActiveDocument.addObject("Part::Prism", "myPrism")

Example:

import FreeCAD as App

doc = App.activeDocument()

prism = doc.addObject("Part::Prism", "myPrism")
prism.Polygon = 5
prism.Circumradius = 10
prism.Height = 50
prism.FirstAngle = 22.5
prism.SecondAngle = 45
prism.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(60, 75, 30))

doc.recompute()